package com.cn.wanxi.model;

public class ResultModel {
    private Integer code;//代表代码 1，0  200 400
    private String result;//代表结果， 新增失败，新增成功
    private Object object;
    private Integer count;

    public ResultModel() {
    }

    public ResultModel(Integer code, String result, Object object) {
        this.code = code;
        this.result = result;
        this.object = object;
    }

    public ResultModel(Object object) {
        this.object = object;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }
}
